package org.fioma.tree.suffixTree.memory.ukkonen;

import org.fioma.tree.suffixTree.memory.SimpleSuffixRootMemory;

public class SimpleUkkonenSuffixRootMemory extends
		SimpleSuffixRootMemory<UkkonenInternalSuffixNodeMemory, UkkonenLeafSuffixNodeMemory, UkkonenSuffixNodeMemory> implements UkkonenSuffixRootMemory {

	public SimpleUkkonenSuffixRootMemory(long pos, SimpleUkkonenSuffixTreeHandlerMemory treeHandler) {
		super(pos, treeHandler);
	}

	@Override
	public UkkonenInternalSuffixNodeMemory getSuffixLink() {
		return null;
	}

	@Override
	public void setSuffixLink(UkkonenInternalSuffixNodeMemory suffixLink) {
		throw new RuntimeException("Root doesn't have suffix Link.");

	}

}
